home *** CD-ROM | disk | FTP | other *** search
- # /etc/udev/rules.d/00-lfs.rules: Rule definitions for LFS.
-
- # Create the /dev/cdrom symlink.
- BUS="ide", KERNEL="*[!0-9]", PROGRAM="/bin/cat /proc/ide/%k/media", RESULT="cdrom", NAME="%k", SYMLINK="cdrom"
-
- # DRI devices always go into a subdirectory (as per the LSB spec).
- KERNEL="card*", NAME="dri/card%n"
-
- # ALSA devices get into /dev/snd/.
- KERNEL="controlC[0-9]*",NAME="snd/%k"
- KERNEL="hw[CD0-9]*", NAME="snd/%k"
- KERNEL="pcm[CD0-9cp]*", NAME="snd/%k"
- KERNEL="midiC[D0-9]*", NAME="snd/%k"
- KERNEL="timer", NAME="snd/%k"
- KERNEL="seq", NAME="snd/%k"
-
- # Input core devices go into /dev/input/.
- KERNEL="mice", NAME="input/%k"
- KERNEL="mouse*", NAME="input/%k"
- KERNEL="event*", NAME="input/%k"
- KERNEL="js*", NAME="input/%k"
- KERNEL="ts*", NAME="input/%k"
-
- # Assorted USB devices get a subdir as well.
- KERNEL="hiddev*", NAME="usb/%k"
- KERNEL="auer*", NAME="usb/%k"
- KERNEL="legousbtower*", NAME="usb/%k"
- KERNEL="dabusb*", NAME="usb/%k"
- BUS="usb", KERNEL="lp[0-9]*", NAME="usb/%k"
-
- # CAPI devices
- KERNEL="capi", NAME="capi20", SYMLINK="isdn/capi20"
- KERNEL="capi*", NAME="capi/%n"
-
- # Network devices
- KERNEL="tun", NAME="net/%k"
-
- # raw devices
- KERNEL="raw[0-9]*", NAME="raw/%k"
-